<%@ page language="java" import="java.io.*,java.util.*" pageEncoding="UTF-8"%><%
	String path="/usr/logs/udo/";
	File file = new File(path+request.getParameter("fileName"));
	response.setContentType("multipart/form-data");
	response.setHeader("Content-Disposition", "attachment;fileName="+request.getParameter("fileName")+".txt");
	try{
		FileInputStream fis=new FileInputStream(file);
		ServletOutputStream sos=response.getOutputStream();
		int b=0;
		byte[] buffer=new byte[512];
		while((b=fis.read(buffer))!=-1){
			sos.write(buffer,0,b);
		}
		fis.close();
		sos.close();
		sos.flush();
	}catch(Exception e){

	}
%>